<?php



namespace App\Services\Business\Models;

use Illuminate\Database\Eloquent\Model;
use App\Services\Business\Models\MediaVideo;

class MediaVideoables extends Model
{
    protected $table = 'media_videoables';

    protected $fillable = [
        'media_video_id', 'media_videoable_id','media_videoable_type'
    ];



    public function video()
    {
        return $this->belongsTo(MediaVideo::class, 'media_video_id');
    }
}
